added rook moved flags for castling check