Add pair object, basic definitions for set class