The Wiring Topology for Electromigration Avoidance Problem: Optimal Wiring Topology Implementation in C++