array exercise - C#