add mkdir function to mkdir and cd