Add common sorting and searching algorithms.