First version of lexer, unittest started but not fully developed