My soltions for Google Code Jam competitions