first attempt at a lexer

based off txus' implementation: https://github.com/txus/brainfuck