How the first molecule in the universe formed