add isWithinBoard; getAdjacentCoords