Implemented network simulation