Not finished

Still revising, trying to find a better algorithm, because the original algorithm while stack for puzzles bigger than 10x10