The Medieval System of Justice: A Look at Trials and Punishments