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

fix a mistake