My edits to the given code, in preparation for the AQA Computing AS Comp1 Exam,  in June 2014