Adds collisionDetectmex.cpp.

Should have been there earlier.