Example program to check if a square matrix is triangular or not.