5.3.19

In todays session I showed some examples with twice and thrice without really giving any explanation for the results. I decided to post the code plus some explanation here, since we will not have time to cover this in a session.