Array pagination functions, sample blog pagination added