I have implemented a similar method that can be seen in this repo https://github.com/rraval/pied-piper/blob/master/decode.py
My problem is that I don\'t understand ho