A very simple shell implementation in C - for a University assignment