added second function validateEmailAddress to flowchart.