On branch master

fixed addPiece so that it checks for the entire groups viability before
allowing a piece to be placed, instead of just checking if the single
intersection has four unfriendlies.

nb: this is both simpler code and more powerful and general.