Finished draft of SampleSet.

Now I need to start writing tests for it to make sure it does what I think
it does.