Added file series.py for assignment 3