Farmer Feb and Shortest Path in Binary Trees