Text this: Iterative approach for photonic crystal devices design