added another collision detection function, this one accepting multiple ints for the target instead of a Point struct.