Fixed small syntax error
Made it so that a slash is not erquired for saving the location of the code
Made it so exclamation marks are stripped from the $PWD
Updated the logic to safeguard against the dotfiles directory being created in the $HOME dir
Ensured the dotfiles directory is sourced correctly in the bash profile