It was the fucking tokenizer causing lots of problems. Screw that thing, it needs more testing.
Merge branch 'master' of https://github.com/furious-luke/codechef
Finished the Crocodile problem yesterday but forgot to commit.