Made AStar class public (oops).