added functionality to determine if email parameter is indeed in email format to contactValidator class with tests