Wrote main method for testing battles.