added pkqueue line to makefile, added header inclusion to switch
changed data structer of switch
removed unnecessary lines
added test to see if enqueue works on an empty packetqueue