added tuple repetition checking script