util: added first3, second3, third3 to deal with 3-tuples
m3tok3: cleanup