Complete chapter7 tutorial challenges