remove nodes function works for multiple nodes.. (okay fine 2)