Programming Assignment 3 - rankall.R