added test version of Lexer code