declares function to calculates the initial website price by the number of pages requested