Added unary not, fixed nested parenthesis problem