add method to convert a map's addresses to json
begin making function to find the longest route from addresses