Collision functions finished, debug mode added