Complete 'Arrays' problem 2