Added error reporting to Lexer and commented code.