Starting to implement the Packet class from the tutorial