Working GDC method and getSmallest-int-from-ArrayList method