Update network.py

Used python 3 print and format styles for usage example