Solved jump game problem.