Code for sorting, searching and other general purpose algorithms.