inter() functioning!

inter() plus tests now working