Design Patterns for the Generation and the Analysis of Chemical Reaction Networks