Code for part 3 of the Swift Tutorial on jamesonquave.com