Added patient-average.py from instructors