Fixed strange bug

hasWon() did not return the correct value overtime but that is fixed
now. Next step is improving the board evaluation