How to do a shell in C