The Medieval System of Justice: Trials and Punishments