How Euclid’s Algorithm Shapes Modern Data Tools