UNDERSTANDING THE FOUNDATIONS OF MODERN JUDICIAL SYSTEMS AND THEIR EVOLUTION