Topology of Chemical Reaction Networks