AStar algo
Player origin and work continued