Java Implementation for a deterministic resolver of Puzzle 15 using search methods.