School assignment, where a message is sent from a client to a server and back again using threads