Concurrent programming
Task 1
Find maxElem element of the given matrix (of arbitrary size) which is divisible by 3 (by whole)
Important:
- Sharing the elements between threads have to be element-wise (not row-wise in general)
- The less elements the given matrix has the less threads have to be created
- The number of threads is bounded by the number of physical PC's threads