Basic flow implementation

I didn't want to pop the packets because it might be useful in congestion control have a list of all the received packets so far.