The mass spectra of organic molecules