Fixed packet trace
Added the first part of receive side

Packets received from networks are added into a circular buffer of 1024
elements.