Task 4 rankall passes all tests

still need to tidy up comments