Scala wrapper for the aima implementation of astar.