Began implementation of the urlCheck() function.