Added reset functionality and made the solve method return a list of tiles which you have to slide to solve the puzzle.