does parallel prefix for 2*2 matrices

code for matrix multiplication (with mod) added. code for parallel prefix updated.
Now need to do add serial works and call parallel prefix (as it is in code now), then continue with serial code!