AN EXPLORATION OF ALGORITHMIC DEVELOPMENT: FROM ANCIENT ROOTS TO MODERN COMPLEXITY