Algorithms and Data Structures in Python 2.7