Copperhead binomial option pricer - added type signatures