find_confusion_patterns function

Find confusion patterns (rapid repeated changes)