Complete 'Arrays' exercise 4