is_pandigital now works with numbers with less than 9 digits