Add even More Scala API Tests
Transitive closure Scala example
Fix formatting in TransitiveClosureNaive Scala Example

Also actually use termination criterion in TransitivelClosureNaive
Java example.
Added TriangleEnumeration examples for reworked Scala API.