Solution for Hump Game.