fixed backreferences non-iterate bug
updated DONEs for backreferences
adding remaining_length functionality, but only checked for -1
debugged remaining_length functionality: can handle regex_string='(ZZZZ|AA|BB)C?D*E+\1'
target_length = 9