implementing collectible items and bounding box collisions