Create CollisionDetector.cs