Tasks 9-14

Task 9-14 from Object oriented programming on pythonschool.net