added makefile, lex.h, test_lex.cpp