Phone Number function

Added a function to check if the string entered is formatted correctly
to be recognized as a phone number and returns true or false