Find the greatest sum in a binary tree path, written in Groovy