The time and array functions work properly in this program. I sent an email with the output.
Merge pull request #3 from Dossar/master

Working array program