An Assessment of Pyrolysis Process for the Treatment of Agricultural and Forest Wastes