Update AStar.scala