Creates sample of MAC frames with ICMP or TCP protocol inside depending to user input