Consider this the first working reference version, complete with build instructions.
Added token tree. Compiles but does not pass test.