My solutions to the problems at Google Code Jam