Problems with accuracy.score sklearn
You have not defined the variable predictions anywhere. You will need to get them from your classifier somehow. You have fit your nordan_tree on your training data, now you can use the fitted nordan_tree to generate the predictions, for example like this:

predictions = nordan_tree.predict(X_test)


Then your line of:

print(accuracy_score(y_test, predictions))


should work.