All-pairs 2-reachability in O(nωlog n) time