Java Algorithm for computing Transitive Closures of relations (Discrete Mathematics)