final version, with pretty pretty print statements when an ICMP message is triggered