Nearly 40 train cars piled up after a massive derailment in Iowa