Practicing writing ADT's in Python