Sequential Self‐Assembly of 1D Branched Organic Homostructures with Optical Logic Gate Function