flowchart on how coal is formed