Fixed some errors in war.do. War.do now compiles and runs.