Java Create And Populate Arraylist Remove Function In Python