enemise code change

small change to use vector instead of  list