algo4: stack: Trapping rain water