modified sublist, subset, and __getitem__; added a function to filter an AIBSBlock based on with some function, will return either an AIBSBlock (default) or a list of segments