I am struggling with programming this program. Almost half the algorithms are just for simulation of what will happen.