Python Function Input Array In Java