print statements added for debugging. A small omission fixed in requestPiece fixed and we are receiving pieces already.