fix cd and bugs and clean up
Merge branch 'master' of https://github.com/ruijie89/4218-Shell