Some algorithms that I have implemented and that might be useful