Example explanation in learning environments