==> logic/river.crossing.s <== The three columns represent the left bank, the boat, and the right bank respectively. The < or > indicates the direction of motion of the boat. HHHMmm . . HHHm Mm> . HHHm m HHH mm HM Hm Hm HM mm HHH m HHHm . . HHHMmm