table format shows up

Removed a lot of commented code and created a table format to display the network.