completes section 5 of tutorial

Completes the basics for step 5 of the tutorial, minus exercises.