Ex5. array study