Gasification and pyrolysis of municipal solid waste (MSW)