add shard method
Merge pull request #6 from simon-liu/add-method

add shard method
add version number in the code
add an reshard example
add travis-ci build status in the readme