Added castling check variables.