Added loops in insertCountry to match the capital id with the city and corresponding province and return the getName() values of each