updated the patient class to fix the print and list size methods to include the last instance in the list