wrote lexer

woohoo!