Fixed bug in winning algorithim, hack++