Averages program printing the fnal average