Updated server.c and client.c to work as Phase III instead of Phase IV