Update top_down() in R to reflect changes in python, change captialzation of a phrase in the function comments