Preparing Program 0 for part C
Added the code for creating and filling an array