header for intersect.h in common added
tests for intersect added