created page class to display a heading

created page class to display a heading