Added node deletion method and tests for 3 conditions. All tests passes