updating adding.py with average