Cannibals and misionaries hw prblm