best.R passes 4/6 tests
best.R passes all tests and successfully submits
rankhospital.R passes all tests and submits successfully

minor tweaks to best.R, comments etc.