Made a beginning for terminal.cd() function.