split-ordered hash etc.

Implemented split-ordered hash and its C interface