Updated exercise 1.5

After reviewing with tjchaplin