WORKING PATH FINDING, A* ALGORITHM