Created Phone Number Function

Created a phone number function to check the format of a given number
to verify if its a real Phone number or not I also added some needed
semicolons and comments above my function.