moved average(), variance() and standard_deviation() to utility.py