Added loops in insertProvince to match the capital id with the city and return the getName() value