add some enumerable methods
Merge pull request #51 from kostya/enum

add some enumerable methods