made buffer size configurable
Merge pull request #2 from paliwalashish/master

made buffer size configurable