Add the more API in Statistic class and Add solution to Ex 16.2-6.