working when no arguments given (prints current directory)