Sending of ACK/NACK implemented.
Sending improved, but still buggy.