added function that returns who won based on the returnvalues of game()