Below I have included some collision code I created. It checks the locations of the bounding boxes of all objects against one another and reports if a collision occurs. You can download the source code here.