This is a program that implements breadth first search in order to solve the cannibals and missionaries problem for any given (solvable) combination.