Added directory state

When changing directory, it now remembers where you are and keeps you
there.  It will also display your current path at the prompt.