Modified to print array values and calculate average weekly temp for Exercise 7.4