My Google Code Jam solutions