City Attractions Hackerrank Find Best Path