cleaned up "import and display networks.R"