icmp c exercise code