Function that returns true if both the strings can be made equal with the given operation
bool canBeMadeEqual ( string str1 , string str2 ) { int len1 = str1 . length ( ) ; int len2 = str2 . length ( ) ;