My code for the Google Code Jam 2013