A Web Crawler is a program that starts with a small list of websites and gets the source code for all of them. It then finds all the links in those source codes, gets the website it links to then puts them in a list. It then starts again but with the new list of websites.The main reason for a Web Crawler is to find all (or most) of the websites in the internet. Google use this to power their search engine.Wikipedia Page about Web Crawlers
Your task is to create a Web Crawler in any language you wish.
Your first list can contain any amount of websites <= 5 and any websites you wish.
Your web crawler can ignore any websites with the HTTP GET request or any other pages other than the home page, e.g. www.somewebsite.com/?anything=1 and www.somewebsite.com/secondpage can be ignored, we are only trying to find the website/domain, e.g. www.somewebsite.com
You can use any method you wish to store the list of websites currently being "crawled".
Although this is code golf, the highest voted answer/solution will win, and don't forget to have fun!