Add Trapping Rain Water - Naive - 3 loops