Added Pseudocode and comments for Packetizer function