It reached its final form by the 14th century; the number and type of tales have varied from one manuscript to another