Function to construct a string having N * N non - palindromic substrings
static void createString ( int N ) { for ( int i = 0 ; i < N ; i ++ ) { Console . Write ( ' a ' ) ; } for ( int i = 0 ; i < N ; i ++ ) { Console . Write ( ' b ' ) ; } }