Codes for Google Code Jam