CO2 and Mg burning turbine