I don't think Sergey Brin or Larry Page studied how to make search engines.
Let's start right away!
urls_old = []
urls_new = [ 'news.ycombinator.com' ]
while urls_new.length>0:
spider(urls_new[0])
... to be continued ... who writes the next 5 lines?