Added basic directory changing, needs more parsing for relative paths (eg. ~/Downloads). Also baked exit command into execute function to make code a little cleaner.