Adventures in C making a shell.