Finished decision tree splitting example
Improved input parameter handling