Law and Literature in the Middle ages