Initial code for set class