cowboy coding of Solver, with bugs
fix number of moves and solution for unsolvable puzzles
find solution for some missed puzzles, need to improve the performance