Task 3 rankhospital passes all tests

still need to clean up the comments