Added == operator and fixed up Eq
Added enum types and made bool a enum