cd function and pwd done