These implementations seem pretty similar and straight forward:
Number One 627
Number two 325
Regarding your second edit: I haven’t even tried understanding it, since the paper is still a part of my (always growing) reading list.