adding get and set working directory to system.h