Added another example script for root finding.