Implemented send, receive and print.