progress on detecting check / checkmate