assignment3 ICMP using python