a mini erlang library with a multi-indexing table data structure