Transitive closure C extension

@mwylde
Add a version for this