Fixed documentation error.
Renamed files. Splitted iterators into separate files. Added a sort function. Renamed reduce to fold and added a new reduce function.