DDO Vale Puzzle Solver
(taken from Lights out puzzle solver and modified)
inserted by FC2 system