created new files for Matrix, String, and PatternSearch. Finished TernarySearchTree