Triplet Edge Attention for Algorithmic Reasoning