Functionality for finding path between 2 beacons