improvements in rankall
Rprog - assignment 1