fixed final print statement in sum reducer