Programming Assignment 3 - rankhospital.R