You have M missionaries and C cannibals on one side of a river (M > C). There is one rowboat
which can hold two people in it. If there are ever more cannibals on one side of the river than there
are missionaries on that side, the cannibals will eat the missionaries there (failed solution). Find the
minimum sequence of moves that will take all the missionaries and cannibals across the river, without
any harm to the missionaries.