Fix for win condition.
Merge pull request #4 from bclau/claudiub

bclau: Fix for win condition.