store source code of 2 useful algorithms.