Google Code Jam 2014 qualification round.

And a few old files I forgot to commit before.