lab5 IDE restored network.cpp