Add solution for previous contest question sam-and-substrings, Make progress on arithmetic-progressions, Tinker with almost-sorted-interval