final edition

added flowchart to repository and fixed several lines to get the
outcomes I think I wanted.