Backtracker can now handle trees with n children
fixed comments