finished task 5: implemented discrete arithmetic average payoff and
integrand plot