A defensive programming assignment for my Software Craftsmanship class where we syntactically check a chemical formula (i.e. NaCl, C2OH)