def _intersection(A,B):
intersection = []<EOL>for i in A:<EOL><INDENT>if i in B:<EOL><INDENT>intersection.append(i)<EOL><DEDENT><DEDENT>return intersection<EOL>
A simple function to find an intersection between two arrays. 

@type A: List 
@param A: First List

@type B: List
@param B: Second List

@rtype: List
@return: List of Intersections