Programming part of my F453 coursework project for A Level Computing