fixed recursion in removeNode
passed first test (add node)