The Arithmetic of Fundamental Groups