public void ObjectInvariant()
 {
     CodeContract.Invariant(board != null);
 }