Small application to solve 8-Puzzles