canibales and missionaires assgnment ai java