Missionaries & Cannibals

This program moves missionaries & cannibals from left bank to right bank of a river using a boat given that the number of missionaries on each bank and on the boat cannot be less than the number of cannibals.

Number Of Missionaries
Number Of Cannibals
Number Of People The Boat Can Take
Maximal Number Of Solutions