updated linkedlist
added getNode