got a good search algorithm going here
prevent repeated digits