fixed problem with operator spacing and added parentheses into the check so that '2 - (-1)' will not be considered an error any longer