Basic shell written in C