use vector
change the coord system of the board
define boardFillwithChain