added writepiece
Merge branch 'master' of https://github.com/kthchatt/Bittorrent