Implementation of algorithms based on the book - Introduction to Algorithms, third edition. http://mitpress.mit.edu/books/introduction-algorithms