pushd popd and dirs implemented