Done tokenizing

With tests !!!
Closes #8
Closes #3