Improved binomial tree to find largest path without path generation (+ unit tests), both recursively and iteratively.