Implemented the matrix multiplication when the matrix size is lesser than 2