added test for close
added basic tests for a Segment object
added tests for min and max methods
added tests for list. added tests that slices of Segments have correct properties
implemented pypore.core.Segments so tests pass