Testing out URL  import and try catch exception handling of MalformedURLException