Energy Optimization For Two-Dimensional Nocs Using Genetic Algorithms