You are given a list of pair of words:
L = [(late,delay),(early,prepone),(delay,relay), ...., (relay, convey)]. In this late and delay have same meaning,early and prepone have same meaning and so on but as delay also has same meaning as relay then late has same meaning as relay.
Now given a function with two words as argument find if both have same meanings
Eg.
function ( late, prepone) -> False
function (late , relay) -> True
function (late, convey) -> True