changed return code to be within main, since that appears to be the logical place to have it
functionized player and program weapons, added fight function, amount of games to play, best of