Added the stuff required for 3rd part of the coursework