Add reduce-r, the right associative variant of reduce