Source code for funny data structure.