update to code, can solve 3x3 puzzle and working on a 9x9 easy puzzle