Update l2_switching_v5.py

v4 only works well for a single switch topology. Incase of multiple switches - the code doesnot work as a single instance of macaddr table gets updated(overwritten) each time a new switch is created.
more info here - http://pox.brownbytes.com/?p=60