Jump Game Problem Leetcode Python Challenges Using Tuples