Pulled functionality out of euler23 into remove-elements-from-sorted-list
no message