creating multilevel inked lists

this is to create a multilevel linked lists