Added error messages for binop and variable(undefined error msg)
otherwise binop returns bool/int and variable returns the type as
looked up in the symbol table