Added the beginnings of collision detection.