Java Interface Hackerrank Solution Python Compiler