added flooding/broadcasting python code and readme file