Text this: Algorithm for Determining the Sum Formula of Metabolites from Mass Spectrometry Spectra