code to print out deletion ranges with max and avg marginals
parameterize change point detection so it can be used for other data types