Code for problem "Jump Game".