Implemented the indexOf method with omot chars and made come test cases
for it. Fixed a bug concerning the set of token in the text to merge
which do not have an equivalent in the base text.