This is a class to read and store a chemical formula and store it in a dictionary. Please reffer to the link for a detailed descritpion.