Fixed Scanner. Created classes for Lexer