Finished coding for modules 2 and 9, passed all tests (not all tests implemented for 9 yet).