Added states to the Element class

I added a way of setting/getting the state of the element. This will be
what we use to determine whether it's a gas, liquid or a solid
structure.