B8. DONE. also implemented delete function

following constraints are set to handle add/ delete page function:
- cannot remove last page
- max 10 pages