implementing cd
Implementing cd