Explicitly import functools.reduce to play well with py3k.
Merge pull request #5 from kimgr/reduce

Explicitly import functools.reduce to play well with py3k.