refactor
refactor
adding test for player 2 win