Python script to create basic network. Modified from entangled example.