Classic algorithms that I've troubled myself to implement.