Function to find the string obtained after performing given shift operations
static void stringShift ( String s , int [ , ] shift ) { int val = 0 ; for ( int i = 0 ; i < shift . GetLength ( 0 ) ; ++ i )