Fixed example survey errors, added exception class, added survey validation checks. not sufficiently tested yet.
added validation checks to survey_representation

+more examples