Alloy mainly comprising iron and carbon