Source code and comments from the book "Python Algorithms, Mastering Basic Algorithms in Python Language".