Created a validation class 

validation class for strings with spaces, alphanumeric, and space