python code to create Military topology in Core simulator