Function to print all the possible paths from ( 0 , 0 ) to ( n - 1 , n - 1 ) .
void printPathUtil ( int row , int col , int m [ ] [ MAX ] , int n , string & path , vector < string > & possiblePaths , bool visited [ ] [ MAX ] ) {