Implemented toIterable method

For issue #18.

This would allow to implement other blocking methods like `single`, `last`.