Ian Polding - Solution to Assignment 2