The Medieval System of Law: Trials and Punishments