Lec 13 example python code: add descriptions for each function