Added high-low-high-low arranging algorithm.  Also moved stuff in compare.h into types.h, then got rid of compare.h.