A possible implementation of a decision tree for SPARK