algorithm now gives shortest path, by looking at currents friends and seeing it contains our target friend