Implemented PrintSet and SetToSTring methods.