moved page_calc constructor to be initialised on every loop
replaced six lines of iteration/creation fun with a single list comprehension. oh yes.