algo4: stack: Trapping water