remove confusion of coordinate format: assume always [x,y], and that board is x by y array (x is row; y is col); fix buildSubstituteBoard() in accordance to this