Filling array by the elements:
Filled array