The time and array functions work properly in this program. I sent an email with the output.