simple shell in C that passes commands to child processes