Array Game Increment Leetcode Python Practice