Updated to test for removal of nodes if same number of childen,
works for simple substitution and elimination reactions which were tested