Added bit-twiddling win condition checker.