A computer program for studying stoichiometry problems