this is the script to calculate the mean of a group of numbers