System and method for rapid pyrolysis of coal