Python to Java translator