added example explanations, fixed printing.