Create averages.py