Reference implementation (in Python 3) of FSRL language