Practice and Solutions to Google's Code Jam