making bounding rectangles for collision