Breaking down the YouTube algorithm and how it works, in 31 pages.