InsertEnd name change and Node accepted now.
Fixed refactor error
insertBeginning and insertAfter implemented