finds the shortest path between two VK users on friends graph