Fixes case when root has multiple children
kata5 completed