Refactored code function phoneNumberVerifier

Restructured nested conditionals.
Added proper indentations.