Modify cd to keep a list of visited directories, and add a func to show those.