Added tool for analysing cd_history. May prove useful in addition with xdir.