adding correct ranking algorithm with comments and javadocs
Merge branch 'master' of https://github.com/11791-06/project-team06