Re-added the server and client code
Added screenshot of output