Added walk method and removeNode method