add JAI.Astar.init method to initialize starting and ending points for a* algorithm