Update get_args.c

1) Changed function type of get_args from "int" to "int *"
2) Added cflag, sflag and dflag (respectively client flag, server flag, debug flag)
3) Changed function behaviour when passing the help flag from returning 0 to exiting
4) Implemented checking if both the client and server flags were passed
5) Flags are returned as a "malloced" block