PageNum translation- first iteration

writte nthe code for page number tranlsation...