Was just about to post the same thing. Probably not worth even clicking this link or following through to the Github if you really do need a good algorithm but aren&#x27;t comfortable with doing a clean room implementation.