finished extracting TCP Flags & fixed some bugs