Created Python ports for pseudocode in _Introduction to Algorithms_.