Library implementing the Unicode Bidirectional Algorithm