Set of functions for pricing both american and european options using the binomial model