add paginate_array example to readme