Validates telephone number The object of this class is constructed using
default constructor and validate function is used to validate telephone
number passing the telephone number as argument to the function. Upon
validation the validate function returns boolean value.