wrote lexer init

lexer wasn't actually finished, just prototypes :o.