Sum Of Two Array Leetcode Problems Python