added remove node function, added TODOs, tested prints: all works!