A simple shell program written in C++, not sure why I wrote it in C++, could have been easily written in C