src: added instance method 'isOnes()'
lint: added some files for linting pass

fixed a mistake
test: added instance method 'isOnes()' testings
readme: added instance method 'isOnes()' api