Create Validate.java

Forgot to add it before.