Create ValidNumber.java

Validate if a given string is numeric.