Adding dynamic array example