minor: removed unnecessary print statements
added candidate debugging output to resolve_anaphora()