Jie added lession 6 to define the get_average function.