11-tile puzzle solver with A* or Depth limited in Java