Default Method Java Interface Hackerrank Solution In Python