Add indexed variants of monadic fold, map and zip, see #5.

Regarding #5.
I also removed trailing whitespace from all files.