Update dubremover.py

Changed iterated from int to boolean