Finding midpoint of a segment