Added changes:
* fixed the signals, wait works properly now
* added cd function, needs more testing
* redid outputting working directory to reflect cd

Still needs attention:
* g++ running in script
* look into PATH changing after you run a program