8 puzzle game solver with A*