Finished draft of transmission tree simulator.