Just some implementations of textbook algorithms. Nothing fancy here.