This is a coursera subsetting and ranking project in R