I am following Abstract Algebra an Interactive Approach by William Paulsen but some of the functions in the first chapter itself, like ShowTerry(), ItitTerry(), MultTable() etc are giving NameError. Same is the case with most of the functions in the preliminaries chapter like ShowRationals(), PowerMod()