Defining classes -  lecture homeworks