Create client.c

Client code