'**SUMMARY**
Returns the interesction point of two lines.
**RETURNS**
A point tuple.
**EXAMPLE**
>>> img = Image("lenna")
>>> l = img.findLines()
>>> c = l[0].findIntersection[1]
TODO: THIS NEEDS TO RETURN A TUPLE OF FLOATS'

def findIntersection(self, line):

    if (self.slope == float('inf')):
        x = self.end_points[0][0]
        y = ((line.slope * (x - line.end_points[1][0])) + line.end_points[1][1])
        return (x, y)
    if (line.slope == float('inf')):
        x = line.end_points[0][0]
        y = ((self.slope * (x - self.end_points[1][0])) + self.end_points[1][1])
        return (x, y)
    m1 = self.slope
    (x12, y12) = self.end_points[1]
    m2 = line.slope
    (x22, y22) = line.end_points[1]
    x = (((((m1 * x12) - (m2 * x22)) + y22) - y12) / float((m1 - m2)))
    y = (((((m1 * m2) * (x12 - x22)) - (m2 * y12)) + (m1 * y22)) / float((m1 - m2)))
    return (x, y)
