block moves causing check
detecting checkmate