Two Sum In Leetcode Solution In Python