changed String to Objects to be returned
Updated the Implementation details of getPatient and getPatients