1)Perl Thread IPC
Implement two programs of matrix multiplication with thread programming. Use a shared mutex for synchronization and locking mechanism.
(1) 2 * 2 matrix multiplication
(2) N * N matrix multiplication
For (1) 2 * 2 matrix multiplication, use the following two examples attached here. After correct run, work on (2) to generalize N * N matrix multiplication, and test for N= 2. You will have three matrices (2-dimensional arrays: arrayA, arrayB, arrayC) as shared array