implemented pwd command