added toString to packet class str()