Simple java program to do transitive closures/composition with boolean 0/1 matrices.