added to receivePiece and receiveRequest, change haves to send pieceIndex, not entire bitfield, and added byteToInt and intToByte methods in Util