Who encourged to Charles perrault to write?