getCurrentDirectory

Get the current directory of the program