added win condition
Merge pull request #7 from nancywong/nancy

added win condition