LEX DONE?!??!?!?!!?!?!!!!~1`1~~!!11

All the parts of lex that are supposed to be there are there (I think)
but will check again before doing parse or making this work on a
webpage. Some things can probably be done better/more efficiently so
that's also next.