Change 1

Added validEmail function; function and call are working properly