Uses OCaml to solve an NxN sliding puzzle