src: add instance method 'rank()'
test: add instance method 'rank()' testings
lint: add some files for linting pass
readme: add instance method 'rank()' api