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

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