Sum Root to Leaf Numbers in Java