Starting program C
added code for filling the array
array is coded and seems to be working.