Created event to allow for fight function to begin with the click of the fight button on the HTML document.