Version 1.6
Receiveoff() removed from main
Version 1.7

Made code structured.
Its working code.
Now will try to add ack facility