Creates Email Validation function

This function will check a string for a valid email, it will check for the @ symbol then it will check for . symbol if both found, it will return true, else it will return false.