basic flowchart for supply and demand