Notice to anyone actually trying to read through the implementation contract: this was coded in one of the languages that Ethereum supports: the Low-level LISP-like Language (LLL). Please note: low-level. Contracts can be coded at a much higher level of abstraction in Serpent, and simplified variant of Python.