Mcm chapter5

Chapter 5 questions and code.
Ah, should have read it properly. Principle is still the same however... :cry: