Replaced Enumeration with Iterator

Hi I made this small change because it makes my Scala client code much prettier. I didn't do a full scan the rest of the project for Enumerations though.