cpp implementation of Trapping Rain Water