The code has been modified and now it is working and the results have been submitted