An exercise from my first year module, Software Workshop