Added transitive closure shell script and regular joins.