the average for the week

placing the code for the average