rank all hospitals script
working version of ranking one state's hospitals