Sliding Puzzle Bfs, count(t) is true you will not undo the swap.