arrays made and fight function completed