Pattern Matching.
Sorting Lists by insertion.