adjust offset of image in AI/8queens/drawboard.js
add image check and board check in AI/8queens/