Medieval Law and Justice: A Study of its Evolution