Subarray Program In Python Example Of A Class