DaoAttack code not working

I am trying to replicate the famous DAO attack for a cryptocurrencies course. I have the following contract already deployed on the blockchain. pragma solidity ^0.5.4; contract EDao { address payable public student; //Events event Success(address src,uint256 ret); event Fail(address src,uint256 ret); event NotEnoughFunds(address src, uint256 req, uint256 avail, uint256 balance); //Structs struct Fund {…