added flowchart to the tutorial 2