add func intersect
add test of intersect, and use 'print' without newline