rankhospital() implemented, submitted, and passing all tests.