Use immutable object style

which allows object creator to set attribute requiring the dual index
split, and have this attribute specify the size of the dual indexes
Merge pull request #3 from dkj/dual_index

Dual index - Use immutable object style