Leetcode Array Two Sum Problem Python Snake Eat