Improved implementation of sequences

Removes old LexerTree, code is now simpler
added function lex()
adds new case 11+2
fixes Lexer tests
fixes NameError
bugfixes