Translated collisionDetection into deteccionColision.py