added methods and variables to Lexer, comments to Compiler