Simulation for Applied Graph Theory Using Visual C++