Qualities of examples in learning and teaching