Added last two exercises accumulator functions