Added a timer to display how long the program took to calculate the results.