added alert for the winner
added other cases for win within if statement