text: Finding the matrix mapping by considering non prime number as obstacle and prime number be valid path .
code: void preprocessMatrix ( int mappedMatrix [ ] [ MAX ] , int a [ ] [ MAX ] , int n , int m ) { int prime [ MAX ] ;