Implemented the pwd command.