added rankhospital.R

Ranks hospitals from CMS based on 3 conditions, and returns the name of
the hospital from the rank specified by user.