Computer generation of reaction schemes and rate equations for thermal cracking