Implemented removeNode function (fixes #75)