Function to match whether there are always n consecutive b ' s ▁ followed ▁ by ▁ n ▁ consecutive ▁ a ' s throughout the string
static bool matchPattern ( string s ) { int count = 0 ; int n = s . Length ;