Added rectangle intersection cpp