Provide an alt. implementation of itertools.accumulate for Python < 3.3

Probably way slower than the native one, but there's not much we can do.
Fixes #8. This time with proper line endings.
Merge pull request #14 from K900/master

 Provide an alt. implementation of itertools.accumulate for Python < 3.3