Third commit

Send data and receive data functions working properly