Arraylist With Class Object Is Not Subscriptable