Added more code to lexer.
Added a range type