Implement LinearSearch.
Generalize InsertionSort to allow different compare predicate and list type.