- Add Triangular class and related computation for problem 12