Create AStarFactory.java