vector to dynamic array

Path vector changed to dynamic array;
Output now shows the initial data;