Your task is to develop an email extractor algorithm (flowchart AND pseudocode) and then write
a python modular program that implements the algorithm. The python program should read text
from input file and extracts all email addresses within the text. An email address has the following
format:
email_id@domain_name
The email_id is the part preceding the @ symbol and it may contain only letters (a-z, A-Z),
digits (0-9), and any of the symbols: ., $, _, or -. Note no other character is allowed in the
email_id. The next part is the domain_name which is composed of domain.ext(.ext) *
where domain_name may contain only letters (a-z, A-Z), digits (0-9), and only the two
symbols . or -. Note that domain_name may allow zero or more extra .ext parts (as indicated
by *) but it must at least contain one .ext part. The table below give some examples of valid
emails: