Implemented handleCollision in CollisionQuadQuad