Here is my summary of the algorithm from another HN post: https://news.ycombinator.com/item?id=34479148#34481937