I fixed the heap problem and message problem coming from the peer.. know we need to keep working on the algorithm and a NegativeValueArrayException.
Fixed the problems... need to work in algorithm