Finished the first of the three exercises from section 3