Added documentation regarding implementation in Python.