Algebra, Geometry and Physics: From Feynman graphs to moduli spaces