Improved lexer, added right assignment of vector