added a way to find edges from startlocation