A Riemann-Roch Theorem for Compact Spaces: A topological version of a fundamental theorem of algebraic geometry