Java Array Within Array Javascript Mdn Setinterval Python