Simple shell in C