added a test for receiving update packets.
removed dependence on vector.
fixed bug involving packetType already being read.