check input string has only digits (easy)