- Created function to do the actual sending of data.
- Cleaned up client and server print output.