Two Sum Problem Solution Leetcode Python