Text this: Interference logic elements based on a Y-shaped defect photonic crystal