Refactored lexer module, handled corner case.

When parsing an expression consisting of a single element (not a list),
the element will now be handled correctly. For instance, the symbol 'abc'
will be tokenized correctly.