Create master_node.py

Contains the master node for histogram analysis