implemented custom yyerror messages
fixed error message