created InitializeNaturalNumbersArray function