Include my poorly hacked version of okeuday's tree implementation.