Swift programming exercise using maps.