Calculator to check the transitivity of a relation as well as determining the matrix for the composite of relations
Uses two dimensional arrays to recursively find sums of compositions. Also, checks for transitivity by checking whether original array remains the same after composition.