Implemented decision tree prunning. Added functions for querying decision trees and leaves combination.