First working version of ensuring a winner, if any, can be found. Fixes #3.