Simple shell written in C