adding Enum type

Including a Java-like Enum