Add model class PartitionedHeapList and TestPartitionedHeapList.

TODO: In other classes such as Sorter, evaluate using PartitionedHeapList.