(Easy Assignment) Write a program that given a URL, u prints out the set of all
URLs which are reachable from u but are also in the same domain.
The domain is a command line argument. We assume a link is in the domain if it contains
the domain in the String.
e.g. java sameSite http://gold.ac.uk gold.ac.uk (two command line arguments) should print out all the
URLs reachable from http://gold.ac.uk which are in http://gold.ac.uk.
Do not visit links outside the domain (i.e. links which do not
contain the second command line argument)
Hint: Keep a set of already visited links. Before visiting a link check whether it is in this set.
If a link contains the second command line argument visit it.
Then add it to the set.
What is the output when you point it at
(Watch video (Help with week 7 easy assignment))