Fast implementation of Gram matrix computation.
skeleton for sorting algorithms.
Quick sort and insertion sort algorithms.