My reference implementations in python of various algorithms