A computer program for the computation of the molecular formula