finished serie.py, added assert statement and comments