Update AStar.rb