Cormen algorithms and solutions, implemented in Python