UNDERSTANDING THE FOUNDATIONS OF CURRENT JUDICIAL SYSTEMS AND THEIR EVOLUTION