Added reduceRight function and its tests