reduce

Adding reduce to problem005 for python3