addTransition
add lexer.cpp and lexer.h