Integrated sendPiece() into logic of Peer

When a Peer receives a request message, it will then send the
corresponding piece to the requesting peer. right now sendPiece only
sends 4 bytes of the actual piece. will fix in future