Trapping Rain Water Leetcode Python