Implementation of the algorithms from the book "Introduction to Algorithms" by Cormen