An artificial neural network approach to the solution of molecular chemical equilibrium