These implementations are for demonstration purposes. They are less efficient than the implementations in the Python standard library.
simple, easily readable, and easily modifiable. It is not optimized, and omits many desirable features.