Fixed an infinte loop bug in the lexer
Added some basic functions of the parser