Recursive list fix

If there is another object with the same structure as this one, check to see if the next line is on a lower heirarchical level, if it is then it can be used as an element within the current object, if it is on the same heirarchical level, ignore the rest of the segments and start a new object of the same type.

eg: 
HL*0000001**35~
N1*CQ*WAL-MART STORES*UL*0078742000008~
N3*HOME OFFICE*702 SW 8TH STREET~
N4*BENTONVILLE*AR*72716*US~
REF*DNS*0519577690000~
HL*0000002**35~                            //Same level, 35, start a new object
N1*CQ*WAL-MART STORES*UL*0078742034157~
N3*HOME OFFICE*702 SW 8TH STREET~
N4*BENTONVILLE*AR*72716*US~
REF*DNS*0519577690000~
HL*0000003**35~
N1*CQ*WALMART  PUERTO RICO, INC. #0*UL*0078742065601~
N3*PO BOX 8065~
N4*BENTONVILLE*AR*72712*US~
HL*0000004*0000003*36~                                 //New level, 36, this object is a field in the current object
N1*SN*WAL-MART SUPERCENTER 0001*UL*0078742000015~
N3*2110 W WALNUT ST~
N4*ROGERS*AR*72756*US~
PER*IC**TE*479-636-3222~
REF*DNS*0519577690001~
REF*ST*00001~