Finished first function validating phone number.