fix the database_generator to include all the possible valid number
patterns

fix the Number#valid? method to always check for all possible valid
number patterns