An algorithm for computing indefinite sums of rational and quasi-rational summands

An algorithm for computing indefinite sums of rational and quasi-rational summands

The algorithm is complete but the code still contains many debugging prints.