Searches the element x in mat [ ] [ ] . If the element is found , then prints its position and returns true , otherwise prints " not ▁ found " and returns false
private static void search ( int [ , ] mat , int n , int x ) {