Finished Packet class.

Finally finished the Packet class. Added support for doubles, floats,
and booleans.