Valid Number Checker fixed

removed check for digits ocuring more than once