Simple pagination

Implemented SimplePagination class.