All the basic standard algorithms for later use