added server.c, for some reason it's being messed up