add PasswordValidator.java & TestPasswordValidator.java