checkpoint 6 - Made the print button functional