added a string checker

still needs work to be done