Pyrolysis: A Sustainable Way to Generate Energy from Waste