Python Array Get Function In Arraylist