Python Code for Topics in Mcgill's Comp250