Added documentation comments with example snippets and a complete example showcasing how to use the library for matching.