added flex lexer.

it was compiled successfully, but bison showed that some rules are
unnecesary
working expression translation