got a working lexer

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>