Adde validator to readme
Added validate method readme