working collision detection

YESSSSS!!!