Added the functions to the code. The fight function, the winnerCheck function and then called/invoked the fight function.