This is some simple implementations of standard algorithms from https://en.wikipedia.org/wiki/Introduction_to_Algorithms
I don't suggest using this code in production as there are much better libraries available.
However, all code is freely usable under the BSD license.