How do search engines work? A Crash Course in Internet Ranking