Optical Network Algorithm Simulation