#14 wrote intersecton logic for intersecting ranges only