Create TextValidater.rb

created TextValidater.rb (not yet used, but required by program)