Run method

Added Run method to the server side of the chat program