Solved TrappingRainWater

Had the approach right, but copied the solution from Sophie :/