This is a homework for Network Simulation @ UTFSM