Reasoning Scaffolding: Distilling the Flow of Thought from LLMs