added a colision class to hold info about idividual coollisions to allow collisions to be hanle ina seperate function from where they are detected in collision_detection_class