Added module for a segmented array.
Merge branch 'segmented-array'