Complete the following function that computes the length of a line segment with end points (x1, y1) and (x2, y2). According to the Pythagorean theorem, the length is √(x1 - x2)2 + (y1 - y2)2.