Assignment Hw3 part3 without checkurlassert function