Code for "Multi-modality Regional Alignment Network for Covid X-Ray Survival Prediction and Report Generation" (MRANet)