In this case we have the country name and the capital city in an array.
The whole array is part of a bigger array.
The goal here is to build a hash with the country name as the key and the capital
city as the value.
We can iterate through the arrays and we can build the hash like this.
We can also solve this problem using inject
. First let's see the solution and then we'll discuss it.