Added a data_string to store the data from the socket, and do some printing for testing purposes.