Added validateEmail function

Addition of function 4.