set default messages for validator
add checkAnagram method
assert examples
format into table
add width for better alignment
reindent