Basic Shell implemented in C