Google code jam solutions