He told you to not let the curly braces touch anything, but they're still touching. You're letting the pair of end-braces on the last line not only touch each other, but also touch the parenthesis in front of them. You're also letting a brace touch the "else" and the parenthesis next to the aaa.
In fact, the 1 case where it's permitted to touch something is the colon on the 1st line, and that's the only case where you don't have the braces improperly touching something else on that line.