Encoding a bracket arrangement by 0-1 code.