Added tally/copies, power function, untested mergesort