ironed out the board representation bugs