Changed Error Handling

results = error.message;
Word Count

Added validation and expanded wordCount function.
Reverse Text Function

Added function and some validation cases.