Fix x:=x+1, now it work
Before made huge modification
Rename Scanners object to Lexer, i hope it is good name