Check

same_clock(a, b, c, d, e, f)

a, b, c; d, e, f are of the same clock and they are not colinear

Return type:

bool

clock(a, b, c)