Java Array With Set Size Python