Added validateUrl function

Addition of function 5.