finish question 5

very slow for 25 cities with 6GB memory