Implement a Matrix class for 2-by-2 matrices:
Include a default constructor, a copy constructor, an inverse() function that returns the inverse of the matrix, a det() function that returns the determinant of the matrix, a Bool- ean function isSingular() that returns 1 or 0 according to whether the determinant is zero, and a print() function.