Keyboard Row Leetcode Two Sum Problem In Python List