photonic crystal thesis process analysis essay how to write an essay