ranks added, code improved, diff added via "Diff Match and Patch" from Google under Apache License
Merge pull request #5 from SimonWaldherr/master

ranks added, code improved, diff added via "Diff Match and Patch" from Google under Apache License