read in start and goal points
reversed the x