split up collision search into multiple functions
prepped for object oriented ball array
changed names around