this is a python program written to simulate the forward of packets and update the switch table entries.