Java Program Queue Using Array In Python Definition