adds a new node in the vertical linkedlist