Create server.c

Server code