Implemented basic time-system range query using Python generators