Added check_input calls in parser procedures. Added output of errors when compilation is finished.
Added test files with SyntaxErrors to test error recovery.