Thermochemical conversion of organic and plastic waste materials through pyrolysis