Create client.c

Client part