Reworked tokenizer a little bit. It now works as a token stream, instead of putting everything in a list, which is a lot more flexible. I can now start working on the parser.