A Variety of Class Assignments Written in Prolog