completed Arrays exercise