Creating all the structures. InsertInOrder BNL is not working properly.