added hashValue() to Segment
added hashValue to Slice, made Slices a set with only unique hashes
Slice and Segment inherit from Hashable, now