gitignore and remove repeater algo that removes repeating ints from a list